
module.exports = (sequelize, Types) => {
    const Totv = sequelize.define('totv', {
        id: {
            type: Types.STRING(50),
            primaryKey: true//主键
        },
        txt: Types.STRING(80),
        info: Types.STRING(100),
        img: Types.STRING(200),
        url: Types.STRING(200),
    }, {
        tableName: 'totv',
        timestamps: false,//禁止seq自动添加createAt,updatedAt
    });
    Totv.sync();
    return Totv;
};